/*
 * @Description: 
 * @Author: HYH
 * @email: HYH_0716@163.com
 * @version: 
 * @Date: 2025-11-05 16:25:59
 * @LastEditors: your name
 * @LastEditTime: 2025-11-06 16:51:02
 */
import { ComponentType } from 'react';

/** 路由配置类型 */
export interface RouteConfig {
    path: string;
    title?: string;
    icon?: string;
    component?: ComponentType;
    items?: RouteConfig[]; // 嵌套路由
    hidden?: boolean; // 是否在侧边栏隐藏
    key?: string;
    redirect?: string;
    requireAuth?: boolean; // 是否需要登录权限（默认true）
}
